<?php
/**
 * Created by PhpStorm.
 * User: 跳梁
 * Date: 2016/1/28
 * Time: 13:42
 */
class openholeModule extends Module{
    function __construct(){
        $this->includePhp('openhole','openhole');
    }
    public function call($user,$method,$param){
        switch($method){
            case 'index':
//                $qid = $param->qid;
//                if (!isset($qid)) {
//                    Output::instance()->resultCode(code_lackof_param);
//                    return;
//                }
                openhole::getIndex();
                break;
        }
    }
}
$module = new openholeModule();
Module::addModule($module);